package com.example.webdemo.service.impl;

import com.example.webdemo.dao.SpecialClassificationMapper;
import com.example.webdemo.model.SpecialClassification;
import com.example.webdemo.service.SpecialClassificationService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author zp
 * @version 1.0
 * @description: SpecialClassificationServiceImpl
 * @date 2023/7/31 19:14
 */
@Service
public class SpecialClassificationServiceImpl implements SpecialClassificationService {
    @Resource
    private SpecialClassificationMapper specialClassificationMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return specialClassificationMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(SpecialClassification record) {
        return specialClassificationMapper.insert(record);
    }

    @Override
    public int insertSelective(SpecialClassification record) {
        return specialClassificationMapper.insertSelective(record);
    }

    @Override
    public SpecialClassification selectByPrimaryKey(Integer id) {
        return specialClassificationMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(SpecialClassification record) {
        return specialClassificationMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(SpecialClassification record) {
        return specialClassificationMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<SpecialClassification> selectAll() {
        return specialClassificationMapper.selectAll();
    }
}
